you don't need to do anything dh-specific; i literally applied eduardo's fancy threads patch to generic UW 4.40 source, and ran 'build slx'.
looks like i was wrong w/r/t ssl:
andor% pine -supported
Supported features in this Pine
None (no TLS or SSL)
i'm testing it now, but i think something like:
./build SSLDIR=/usr SSLCERTS=/etc/ssl/certs slx
most of our users only use PINE on our systems, but i'll consider doing the next build with SSL support.
note that it is possible to get passwordless authentication with our system using ssh authentication. defining a PASSFILE might be a good idea too though (perhaps set it equal to $PINE_PASSFILE so that people can define it themselves).
hope this helps.