add build-neomutt

Fri, 08 Apr 2016 17:48:37 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 08 Apr 2016 17:48:37 -0400
changeset 290
6a140c2e1366
parent 289
25049eee0d50
child 291
c9832253606a

add build-neomutt

.mutt/build-neomutt file | annotate | diff | comparison | revisions
.mutt/roomag/config file | annotate | diff | comparison | revisions
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
+
--- a/.mutt/roomag/config
+++ b/.mutt/roomag/config
@@ -4,6 +4,7 @@ set folder    = imaps://mhoward@ramdas.r
 set spoolfile = "+INBOX"
 set record    = "+Sent"
 set postponed = "+Drafts"
+set trash     = "+Trash"
 
 set smtp_url  = smtps://mhoward@ramdas.roomag.org/
 set realname  = "Meredith Howard"

mercurial