| 1 | TERMUX_PKG_HOMEPAGE=https://notmuchmail.org |
| 2 | TERMUX_PKG_DESCRIPTION="Thread-based email index, search and tagging system" |
| 3 | TERMUX_PKG_VERSION=0.25 |
| 4 | TERMUX_PKG_REVISION=1 |
| 5 | TERMUX_PKG_SHA256=65d28d1f783d02629039f7d15d9a2bada147a7d3809f86fe8d13861b0f6ae60b |
| 6 | TERMUX_PKG_SRCURL=https://notmuchmail.org/releases/notmuch-${TERMUX_PKG_VERSION}.tar.gz |
| 7 | TERMUX_PKG_BUILD_IN_SRC=yes |
| 8 | TERMUX_PKG_DEPENDS="glib, libgmime, libtalloc, libxapian" |
| 9 | |
| 10 | termux_step_configure () { |
| 11 | # Use python3 so that the python3-sphinx package is |
| 12 | # found for man page generation. |
| 13 | export PYTHON=python3 |
| 14 | |
| 15 | cd $TERMUX_PKG_SRCDIR |
| 16 | XAPIAN_CONFIG=$TERMUX_PREFIX/bin/xapian-config ./configure \ |
| 17 | --prefix=$TERMUX_PREFIX \ |
| 18 | --without-api-docs \ |
| 19 | --without-desktop \ |
| 20 | --without-emacs \ |
| 21 | --without-ruby |
| 22 | } |