# Description: GNU pico clone (a tiny text editor)
# URL:         http://www.nano-editor.org
# Maintainer:  Juergen Daubert, jue at crux dot nu
# Packager:    Simone Rota, sip at crux dot nu
# Depends on:  file ncurses

name=nano
version=2.7.4
release=1
source=(http://www.nano-editor.org/dist/v2.7/$name-$version.tar.xz)

build(){
    cd $name-$version
    ./configure --prefix=/usr --disable-nls
    make
    make DESTDIR=$PKG install
    install -D -m 644 doc/sample.nanorc $PKG/usr/etc/nanorc
    rm -r $PKG/usr/share/{doc,info}
}
