bin/setup-neomutt

Mon, 01 Aug 2016 12:20:04 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 01 Aug 2016 12:20:04 -0400
changeset 359
b3c85390852b
parent 321
.mutt/build-neomutt@12d8f50e80a9
child 364
dc8ef0de424d
permissions
-rwxr-xr-x

mv .mutt/build-neomutt bin/setup-neomutt

#!/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