PKGNAME=nano
PKGSEC=editors
PKGDEP="file ncurses"
PKGDES="A terminal text editor with syntax highlighting and other functionalities"

AUTOTOOLS_AFTER="--enable-largefile \
                 --enable-year2038 \
                 --enable-threads=posix \
                 --enable-nls \
                 --disable-rpath \
                 --enable-browser \
                 --enable-color \
                 --enable-comment \
                 --enable-extra \
                 --enable-formatter \
                 --enable-help \
                 --enable-histories \
                 --enable-justify \
                 --enable-libmagic \
                 --enable-linter \
                 --enable-linenumbers \
                 --enable-mouse \
                 --enable-multibuffer \
                 --enable-nanorc \
                 --enable-operatingdir \
                 --enable-speller \
                 --enable-tabcomp \
                 --enable-wordcomp \
                 --enable-wrapping \
                 --disable-debug \
                 --disable-tiny \
                 --enable-utf8 \
                 --disable-altrcname"

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
