2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.mutt.org/
|
2016-04-14 15:40:25 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Mail client with patches from neomutt"
|
2018-05-20 13:51:42 +02:00
|
|
|
TERMUX_PKG_VERSION=1.10.0
|
2018-06-21 02:11:50 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-05-20 13:51:42 +02:00
|
|
|
TERMUX_PKG_SHA256=0215b5f90ef9cc33441a6ca842379b64412ed7f8da83ed68bfaa319179f5535b
|
2016-08-31 12:06:18 +02:00
|
|
|
TERMUX_PKG_SRCURL=ftp://ftp.mutt.org/pub/mutt/mutt-${TERMUX_PKG_VERSION}.tar.gz
|
2017-08-11 13:30:02 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, gdbm, openssl, libsasl, mime-support"
|
2017-09-26 15:33:35 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
mutt_cv_c99_snprintf=yes
|
|
|
|
mutt_cv_c99_vsnprintf=yes
|
|
|
|
--disable-gpgme
|
|
|
|
--enable-compressed
|
|
|
|
--enable-hcache
|
|
|
|
--enable-imap
|
|
|
|
--enable-pop
|
|
|
|
--enable-sidebar
|
|
|
|
--enable-smtp
|
|
|
|
--with-exec-shell=$TERMUX_PREFIX/bin/sh
|
|
|
|
--with-mailpath=$TERMUX_PREFIX/var/mail
|
|
|
|
--without-idn
|
|
|
|
--with-sasl
|
|
|
|
--with-ssl
|
|
|
|
"
|
2017-08-11 13:30:02 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
|
|
|
bin/flea
|
|
|
|
bin/muttbug
|
|
|
|
share/man/man1/muttbug.1
|
|
|
|
share/man/man1/flea.1
|
|
|
|
etc/mime.types
|
|
|
|
"
|
|
|
|
TERMUX_PKG_CONFFILES="etc/Muttrc"
|
2016-04-14 15:40:25 +02:00
|
|
|
|
2015-12-14 03:22:39 +01:00
|
|
|
termux_step_post_configure () {
|
2016-04-14 15:40:25 +02:00
|
|
|
# Build wants to run mutt_md5 and makedoc:
|
|
|
|
gcc -DHAVE_STDINT_H -DMD5UTIL $TERMUX_PKG_SRCDIR/md5.c -o $TERMUX_PKG_BUILDDIR/mutt_md5
|
|
|
|
gcc -DHAVE_STRERROR $TERMUX_PKG_SRCDIR/doc/makedoc.c -o $TERMUX_PKG_BUILDDIR/doc/makedoc
|
2017-04-18 08:19:48 +02:00
|
|
|
touch -d "next hour" $TERMUX_PKG_BUILDDIR/mutt_md5 $TERMUX_PKG_BUILDDIR/doc/makedoc
|
2015-12-14 03:22:39 +01:00
|
|
|
}
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
termux_step_post_make_install () {
|
2016-12-11 03:46:57 +01:00
|
|
|
cp $TERMUX_PKG_SRCDIR/doc/mutt.man $TERMUX_PREFIX/share/man/man1/mutt.1.man
|
2016-04-25 10:46:48 +02:00
|
|
|
mkdir -p $TERMUX_PREFIX/share/examples/mutt/
|
2017-01-31 13:52:34 +01:00
|
|
|
cp $TERMUX_PKG_BUILDER_DIR/gpg{,2}.rc $TERMUX_PREFIX/share/examples/mutt/
|
2017-01-30 19:31:39 +01:00
|
|
|
mv $TERMUX_PREFIX/etc/mime.types.dist $TERMUX_PREFIX/etc/mime.types
|
2017-01-30 20:41:49 +01:00
|
|
|
mv $TERMUX_PREFIX/etc/Muttrc.dist $TERMUX_PREFIX/etc/Muttrc
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|