bin/setup-neomutt

Thu, 04 Aug 2016 13:51:05 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 04 Aug 2016 13:51:05 -0400
changeset 364
dc8ef0de424d
parent 359
b3c85390852b
child 366
8d2d058ea98b
permissions
-rwxr-xr-x

tweak neomutt build

#!/bin/sh
set -eu

echo "Requirements (on debian):"
echo "autoconf libncursesw5-dev libssl-dev libtokyocabinet-dev libsasl2-dev"
echo "links"

cd
mkdir -p sandbox

if [ ! -d sandbox/neomutt ]; then
  git clone https://github.com/neomutt/neomutt.git sandbox/neomutt
else
  git -C sandbox/neomutt pull
fi

cd sandbox/neomutt

./prepare \
  --enable-quick-build \
 --with-ssl --with-sasl \
 --enable-hcache \
 --enable-imap --enable-smtp \
 --with-regex \
  >/dev/null

make -s -j3

cd ~/bin
for BIN in mutt mutt_dotlock pgpewrap; do
  ln -sf ../sandbox/neomutt/$BIN
done

mercurial