# Description: GNU pico clone (a tiny text editor)
# URL:         http://www.nano-editor.org
# Maintainer:  Juergen Daubert, juergen dot daubert at t-online dot de
# Packager:    Simone Rota, sip at crux dot nu

name=nano
version=2.0.9
release=1
source=(http://www.nano-editor.org/dist/v2.0/$name-$version.tar.gz)

build(){
    cd $name-$version
    ./configure --prefix=/usr --disable-nls --mandir=/usr/man
    make
    make DESTDIR=$PKG install
    rm -r $PKG/usr/share
    rm $PKG/usr/bin/rnano $PKG/usr/man/man1/rnano.1
}

