DEPENDS = virtual/libc ncurses
RDEPENDS = libc6 libncurses5

SRC_URI := http://www.nano-editor.org/dist/v1.3/nano-${PV}.tar.gz \
	   file://${FILESDIR}/configure.patch;patch=1 \
	   file://${FILESDIR}/make.patch;patch=1

inherit autotools

do_configure_prepend () {
	cp ${FILESDIR}/glib.m4 m4/
}