summaryrefslogtreecommitdiffstats
path: root/mail/neomutt/DEPENDS
blob: 832d18038a4374e7b492f8544def81cd85725674 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
if [[ "${NEOMUTT_BRANCH}" == "scm" ]]; then
  depends git
fi &&

persistent_remove TMP_NEOMUTT_OPTS &&

optional_depends   "MAIL-TRANSPORT-AGENT"                       \
                   ""                                           \
                   ""                                           \
                   "to send mail"                               &&

depends "${TERMINAL_LIBRARY}" "--with-ui=${TERMINAL_LIBRARY}"   &&

optional_depends   "GNUPG"                                      \
                   ""                                           \
                   "--disable-pgp"                              \
                   "to support PGP signing and encrypting messages" &&

# Do NOT add --ssl here, that only works if POP/IMAP are used.  This is
# mostly just here to prompt for SSL if they don't have it and want
# S/MIME.
optional_depends "SSL"                                        \
                 ""                                           \
                 "--disable-smime"                            \
                 "to support S/MIME signing and encrypting messages" &&

optional_depends "gpgme"                                      \
                 "--gpgme"                                    \
                 ""                                           \
                 "alternate backend for PGP and S/MIME"       &&

if is_depends_enabled "${SPELL}" "gpgme"; then
  depends "libgpg-error"
fi &&

case ${HCACHE_BACKEND} in
    db)
        depends "${HCACHE_BACKEND}" "--bdb" ;;
  lmdb)
        depends "${HCACHE_BACKEND}" "--lmdb"  ;;
  gdbm)
        depends "${HCACHE_BACKEND}" "--gdbm"  ;;
     *)
        ;;
 esac &&

optional_depends "tokyocabinet"                               \
                 "--tokyocabinet"                             \
                 ""                                           \
                 "Use tokyocabinet?"                          &&

optional_depends "kyotocabinet"                               \
                 "--kyotocabinet"                             \
                 ""                                           \
                 "Use kyotocabinet?"                          &&

optional_depends "qdbm"                                       \
                 "--qdbm"                                     \
                 ""                                           \
                 "Use kyotocabinet?"                          &&

optional_depends "libidn"                                     \
                 ""                                           \
                 "--disable-idn"                              \
                 "to use GNU libidn for domain names"         &&

optional_depends "libidn2"                                    \
                 "--idn2"                                     \
                 "--disable-idn2"                             \
                 "to use GNU libidn2 for domain names"        &&

# If they have POP/IMAP then prompt again for SSL to get --ssl.
optional_depends "SSL"                                        \
                 "--ssl"                                      \
                 ""                                           \
                 "to enable SSL support for POP/IMAP"         &&

optional_depends "gnutls"                                     \
                 "--gnutls"                                   \
                 ""                                           \
                 "to enable SSL support for POP/IMAP via gnutls" &&

optional_depends "LIBSASL"                                   \
                 "--sasl"                                    \
                 ""                                          \
                 "to enable SASL2 authentication for POP/IMAP" &&

optional_depends "krb5"                                       \
                 "--gss"                                      \
                 ""                                           \
                 "to enable GSSAPI authentication for IMAP"   &&
                
optional_depends "LUA"                                        \
                 "--lua"                                      \
                 ""                                           \
                 "for Lua scripting"                          &&

optional_depends "notmuch"                                    \
                 "--notmuch"                                  \
                 ""                                           \
                 "Enable NOTMUCH support"                     &&

optional_depends "docbook-dtd"                                \
                 ""                                           \
                 "--disable-doc"                              \
                 "to build documentation"                     &&

optional_depends "pkgconfig"                                  \
                 "--pkgconf"                                  \
                 ""                                           \
                 "to obtain package information"