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

name=nano
version=4.3
release=1
source=(http://www.nano-editor.org/dist/v${version%.*}/$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}
}
