|
1 #!/bin/sh |
|
2 set -eu |
|
3 |
|
4 echo "Requirements (on debian):" |
|
5 echo "autoconf libncursesw5-dev libssl-dev libtokyocabinet-dev libsasl2-dev" |
|
6 echo "links" |
|
7 |
|
8 cd |
|
9 mkdir -p sandbox |
|
10 |
|
11 if [ ! -d sandbox/neomutt ]; then |
|
12 git clone https://github.com/neomutt/neomutt.git sandbox/neomutt |
|
13 else |
|
14 git -C sandbox/neomutt pull |
|
15 fi |
|
16 |
|
17 cd sandbox/neomutt |
|
18 |
|
19 ./prepare \ |
|
20 --with-ssl --with-sasl \ |
|
21 --enable-hcache \ |
|
22 --enable-imap --enable-smtp \ |
|
23 --enable-sidebar >/dev/null |
|
24 |
|
25 make -s -j3 |
|
26 |
|
27 cd ~/bin |
|
28 ln -sf ../sandbox/neomutt/mutt |
|
29 ln -sf ../sandbox/neomutt/pgpewrap |
|
30 |