summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 86a9d833073da45de38491788ca53c7adc8b8963 (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
# Maintainer: Ben Widawsky <ben@bwidawsk.net>
# Contributor: Alad Wenter <alad@mailbox.org>
# Contrubutor: Jelle van der Waa <jelle@vdwaa.nl>
# Contributor: Chris Salzberg <chris@dejimata.com>
# Contributor: Leonidas Spyropoulos <artafinde@gmail.com>

_pkgname=neomutt
pkgname=neomutt-backends
pkgver=20180716
pkgrel=1
pkgdesc='A version of mutt with added features (more backend support)'
url='http://www.neomutt.org/'
license=('GPL')
arch=('x86_64')
depends=('notmuch-runtime' 'lua')
optdepends=('python: keybase.py')
makedepends=('git' 'gnupg' 'libxslt' 'docbook-xsl' 'lynx' 'lmdb' 'kyotocabinet' )
conflicts=('neomutt')
provides=('neomutt')
source=("https://github.com/neomutt/neomutt/archive/$_pkgname-$pkgver.tar.gz"
        "https://github.com/neomutt/neomutt/releases/download/$_pkgname-$pkgver/$_pkgname-$pkgver.tar.gz.sig")
sha256sums=('bd89826980b493ba312228c9c14ffe2403e268571aea6008c6dc7ed3848de200'
            'SKIP')
validpgpkeys=('86C2397270DD7A561263CA4E5FAF0A6EE7371805') # Richard Russon (flatcap) <rich@flatcap.org>

build() {
    cd "$_pkgname-$_pkgname-$pkgver"
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --libexecdir=/usr/lib \
        --gpgme \
        --enable-lua \
        --notmuch \
        --gss \
        --ssl \
        --sasl \
        --with-ui=ncurses \
        --with-idn=/usr \
	--lmdb \
	--kyotocabinet \
        --gdbm
    make
}

package() {
    cd "$_pkgname-$_pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
}