Trying to build brutalchess from aur with makepkg

Hi. Not sure which category to put this question in so here goes.
As the title says I get an error in the makepkg process with the freetype2 headers. Error is:
In file included from brutalchess.cpp:26:
fontloader.h:13:10: fatal error: ft2build.h: No such file or directory
13 | #include <ft2build.h>
I’ve no idea how to include the headers as I’m new to building from src, even though arch and makepkg make it fairly sttraightforward to do so, I searched how to edit the PKGBUILD file but I don’t know what to exactly edit within. Symlinking to the needed files didn’t work and is a bad idea I’ve read.
Could someone give me some pointers please?

That package hasn’t been updated in 6 years but there is a comment on the AUR page about how to work around it.


Thanks for the quick reply and link. Couldn’t get it to compile with the answers provided but will keep trying. Cheers to you.