PDKIM is a library that implements DKIM as specified in RFC4871. It is self-contained (no build dependencies except for a C library).