SECTION = "console/utils"
DEPENDS = "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://configure.patch;patch=1 \
           file://make.patch;patch=1 \
           file://glib.m4"

inherit autotools

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