.mutt/build-neomutt

changeset 290
6a140c2e1366
child 291
c9832253606a
new file mode 100755
--- /dev/null
+++ b/.mutt/build-neomutt
@@ -0,0 +1,23 @@
+#!/bin/sh
+set -eu
+
+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 \
+ --enable-imap --enable-smtp \
+ --enable-sidebar --enable-hcache >/dev/null
+make mutt -j2 >/dev/null
+
+cd ~/bin
+ln -sf ../sandbox/neomutt/mutt mutt
+

mercurial