aerc from ref
0.2.0) fails with the following output:
$ make go build \ -ldflags "-X main.Prefix=/usr/local \ -X main.ShareDir=/usr/local/share/aerc \ -X main.Version=0.2.1" \ -o aerc # git.sr.ht/~sircmpwn/aerc/lib/ui lib/ui/ui.go:60:23: screen.Beep undefined (type tcell.Screen has no field or method Beep) make: *** [aerc] Error 2
Commenting out the offending line fixes the error and allows
aerc to build.
Edited to reflect that the issue is not specific to macOS; can reproduce on Manjaro.
Okay, so after some research, I need to compile with:
$ env GO111MODULE=on make
And then it successfully compiles.