. $GRIMOIRE/config_query_multi.function
#if spell_ok gnutls ; then
#config_query_list DOVECOT_SSL 'Which SSL provider do you want?' \
#                  gnutls openssl none
#else
#config_query_list DOVECOT_SSL 'Which SSL provider do you want?' \
#                  openssl gnutls none
#fi                                                           &&
                  
config_query_multi DOVECOT_MAILSTORE                         \
                  'What mail storage support do you want?'   \
                  all                                        \
                  maildir                                    \
                  mbox                                       \
                  dbox                                       \
                  cydir                                      &&
config_query_list DOVECOT_NOTIFY                             \
                  'What filesystem notification method do you want?' \
                  inotify                                    \
                  dnotify                                    \
                  none                                       &&
config_query_list DOVECOT_IOLOOP                             \
                  'What ioloop do you want'                  \
                  poll                                       \
                  epoll                                      &&
config_query_option DOVECOT_OPTS                             \
                    'Build with GENERIC SQL support'         \
                    y                                        \
                    "--with-sql"                             \
                    "--without-sql"                          &&
config_query_option DOVECOT_OPTS                             \
                    'Build with /etc/passwd support'         \
                    y                                        \
                    "--with-passwd"                          \
                    "--without-passwd"                       &&
config_query_option DOVECOT_OPTS                             \
                    'Build with NSS support'                 \
                    y                                        \
                    "--with-nss"                             \
                    "--without-nss"                          &&
config_query_option DOVECOT_OPTS                             \
                    'Build with passwd-like file support'    \
                    y                                        \
                    "--with-passwd-file"                     \
                    "--without-passwd-file"                  &&
config_query_option DOVECOT_OPTS                             \
                    'Build with checkpassword support'       \
                    y                                        \
                    "--with-checkpassword"                   \
                    "--without-checkpassword"                &&
config_query_option DOVECOT_OPTS                             \
                    'Build with static userdb support'       \
                    y                                        \
                    "--with-static-userdb"                   \
                    "--without-static-userdb"                &&
config_query_option DOVECOT_OPTS                             \
                    'Build with prefetch userdb support'     \
                    y                                        \
                    "--with-prefetch-userdb"                 \
                    "--without-prefetch-userdb"              &&
config_query_option DOVECOT_OPTS                             \
                    'Install documentation'                  \
                    y                                        \
                    "--with-docs"                            \
                    "--without-docs"

