# Template file for 'aerc'
pkgname=aerc
version=0.5.2
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/~sircmpwn/aerc/archive/${version}.tar.gz"
checksum=87b922440e53b99f260d2332996537decb452c838c774e9340b633296f9f68ee

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
}
