| 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 |
| 4 | TERMUX_PKG_SHA256=d3e894ed2ad9d721a442663f07a6f2a241dc98be7cc4af681f16edf88e0d76df |
| 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 | } |