From 19efa8d21b2af3066e1b2e4e19cde04082deec7f Mon Sep 17 00:00:00 2001
From: Stacy Harper <contact@stacyharper.net>
Date: Thu, 28 Jul 2022 19:38:47 +0200
Subject: [PATCH] community/aerc: build with notmuch support

---
 community/aerc/APKBUILD | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/community/aerc/APKBUILD b/community/aerc/APKBUILD
index d106a4acedb5..3a06f9ba1983 100644
--- a/community/aerc/APKBUILD
+++ b/community/aerc/APKBUILD
@@ -1,19 +1,21 @@
 # Maintainer: Drew DeVault <sir@cmpwn.com>
 pkgname=aerc
 pkgver=0.11.0
-pkgrel=1
+pkgrel=2
 pkgdesc="email client for your terminal"
 url="https://aerc-mail.org"
 arch="all"
 license="MIT"
 depends="less ncurses"
-makedepends="go scdoc"
+makedepends="go scdoc notmuch-dev"
 checkdepends="gpg gpgme"
 subpackages="$pkgname-doc"
 source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~rjarry/aerc/archive/$pkgver.tar.gz
 	$pkgname-fix-32bit.patch::https://git.sr.ht/~rjarry/aerc/commit/e92573c5d7161e7d7fdaaeab9a7ced0b03fa2277.patch
 	"
 
+GOFLAGS="$GOFLAGS -tags=notmuch"
+
 build() {
 	unset LDFLAGS # passed as go linker flags and invalid
 	make PREFIX=/usr VERSION=$pkgver
-- 
GitLab