description="A simple text editor which aims to replace Pico, the default editor in the Pine package."
url="http://www.nano-editor.org/"
packager="tnut <tnut@nutyx.org>"
contributors="Pierre B, Tnut, Greg, Remy"

name=nano
version=3.2

source=(http://www.nano-editor.org/dist/v${version:0:1}/$name-$version.tar.xz)

build() {
cd $name-$version

./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-color    \
--enable-utf8     \
--docdir=/usr/share/doc/nano-$version \
--disable-x

make

make DESTDIR=$PKG install

mkdir -p $PKG/etc/nano
}
