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

name=nano
version=7.2
release=1
source=(https://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}
}
