DEPENDS = "virtual/libc ncurses"
DESCRIPTION = "GNU nano (Nano's ANOther editor, or \
Not ANOther editor) is an enhanced clone of the \
Pico text editor."

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/
}