summaryrefslogtreecommitdiff
path: root/packages/mail-client/mutt/mutt-1.14.7.exheres-0
blob: 2bdfc167e3f9c05cb302d400b26a3869da5069a3 (plain)
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
# Copyright 2008 Fernando J. Pereda
# Distributed under the terms of the GNU General Public License v2

SUMMARY="A text-based email client"
HOMEPAGE="http://www.mutt.org/"
DOWNLOADS="ftp://ftp.mutt.org/pub/mutt/${PNV}.tar.gz"

LICENCES="GPL-2"
SLOT="0"
PLATFORMS="~amd64 ~arm ~x86"
MYOPTIONS="autocrypt debug doc gpgme idn sasl
    (
        gdbm [[ description = [ use gdbm for header caching ] ]]
        tokyocabinet [[ description = [ use tokyocabinet for header caching ] ]]
    ) [[ number-selected = exactly-one ]]
    (
        ncurses [[ description = [ use ncurses for the user interface ] ]]
        slang [[ description = [ use slang for the user interface ] ]]
    ) [[ number-selected = exactly-one ]]
    debug [[ description = [ Add debugging support and -d switch ] ]]
    gpgme [[ description = [ Enable support for gpgme ] ]]
    ( providers: libressl openssl ) [[ number-selected = exactly-one ]]
    ( linguas: bg ca cs da de el eo es et eu fi fr ga gl hu id it ja ko lt nl pl pt_BR ru sk sv tr
               uk zh_CN zh_TW )
"

DEPENDENCIES="
    build:
        dev-libs/libxml2:2.0
        dev-libs/libxslt
        sys-apps/texinfo
        sys-devel/gettext
        doc? (
            app-text/docbook-utils
            app-text/docbook-xml-dtd:4.2
        )
    build+run:
        sys-libs/zlib
        autocrypt? ( dev-db/sqlite:3 )
        gdbm? ( sys-libs/gdbm )
        gpgme? ( app-crypt/gpgme[>=1.4.0] )
        idn? (
            dev-libs/libunistring
            net-dns/libidn2:=
        )
        ncurses? ( sys-libs/ncurses )
        providers:libressl? ( dev-libs/libressl:= )
        providers:openssl? ( dev-libs/openssl )
        sasl? ( net-libs/cyrus-sasl )
        slang? ( sys-libs/slang )
        tokyocabinet? ( dev-db/tokyocabinet )
    suggestion:
        net-www/elinks [[ description = [ Provides a text based browser for viewing HTML-formatted mail ] ]]
"

DEFAULT_SRC_CONFIGURE_PARAMS=(
    --enable-nls
    --with-ssl
    --sysconfdir=/etc/${PN}
    --with-docdir=/usr/share/doc/${PNV}
    --with-homespool=.maildir
    --without-bundled-regex
    --enable-sidebar

    --enable-flock
    --disable-fcntl
    --enable-nfs-fix
    --enable-external-dotlock

    --enable-filemonitor
    --enable-imap
    --enable-pop
    --enable-smtp

    # hcache
    --enable-hcache
    --without-bdb
    --without-qdbm

    --with-zlib
    --without-gnutls
    --without-idn
)

DEFAULT_SRC_CONFIGURE_OPTIONS=( 'ncurses --with-curses' 'slang --with-slang' )
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( autocrypt debug doc 'doc full-doc' gpgme )
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( 'autocrypt sqlite3' gdbm sasl 'idn idn2' tokyocabinet )