# Template file for 'aerc'
pkgname=aerc
version=0.6.0
revision=1
build_style=go
hostmakedepends="scdoc git"
makedepends="libnotmuch-devel"
short_desc="Terminal email client"
maintainer="shtayerc <david.murko@mailbox.org>"
license="MIT"
homepage="https://aerc-mail.org"
distfiles="https://git.sr.ht/~rjarry/aerc/archive/${version}.tar.gz"
checksum=ec4565609938b314f0343d85dfdab1cb0659c07c2845369ff7cf0132c5faed6e

do_configure() {
	:
}

do_build() {
	make ${makejobs} PREFIX=/usr GOFLAGS=-tags=notmuch
}

do_install() {
	make STRIP=true PREFIX=/usr DESTDIR=${DESTDIR} install
}

post_install() {
	vlicense LICENSE
}
