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