# Depends on: libutempter perl-io-tty protobuf openssh

description="Mobile shell, surviving disconnects with local echo and line editing."
packager="alienus at nutyx dot org, fanch at nutyx dot org, tnut at nutyx dot org, Sipo"
url="http://mosh.mit.edu/"
name=mosh
version=1.2.5
release=1

source=(https://mosh.org/$name-$version.tar.gz)

build(){
    cd $name-$version
    ./autogen.sh
    ./configure --prefix=/usr
    make
    make DESTDIR=$PKG install
    install -Dm644 $SRC/$name-$version/conf/bash-completion/completions/$name \
    $PKG/usr/share/bash-completion/completions/$name
}
