Pine uses the c-client library from uw-imap, so if you build uw-imap with gssapi support, pine gets it too.