.mutt/build-neomutt

Sat, 25 Jun 2016 03:00:08 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 25 Jun 2016 03:00:08 -0400
changeset 344
8e4bb4e70b2f
parent 321
12d8f50e80a9
permissions
-rwxr-xr-x

use function-parameters contrib \o/

#!/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 \
 --with-ssl --with-sasl \
 --enable-hcache \
 --enable-imap --enable-smtp \
 --enable-sidebar >/dev/null

make -s -j3

cd ~/bin
ln -sf ../sandbox/neomutt/mutt
ln -sf ../sandbox/neomutt/pgpewrap

mercurial