- I used a modified distfile provided by abieber with a vendor directory, which is necessary due to the large number of go package dependencies.
- The custom version of go-libvterm used by aerc upstream includes an (unmodified) bundled copy of libvterm itself, which causes issues with the build. I instead link against devel/libvterm. - One filter script shipped with aerc (to display HTML email) depends on socksify (provided by security/dante) and www/w3m. I did not include these as RUN_DEPENDS because this is an optional script disabled by default, but I'm not sure whether this approach is correct. - cgo in go 1.13 (but not go 1.14) considers ~ an invalid path character, but the top-level package name here (and therefore WRKSRC) contains an ~. I remedied this by moving the vendor directory contents up to the level of the MODGO_WORKSPACE. This workaround shouldn't be necessary when go 1.14 is released. - aerc can be built with notmuch support, but notmuch isn't in ports (yet?), so I didn't bother with this.
aerc.tgz
Description: GNU Zip compressed data
