http://pam-mount.sourceforge.net/

http://downloads.sourceforge.net/pam-mount/pam_mount-2.9.tar.xz

required: libHX

./configure --prefix=/usr --sysconfdir=/etc &&
make

:-| Backup /etc/security/pam_mount.conf.xml before the next command because it will get overwriten otherwise.

make install

Add to /etc/security/pam_mount.conf.xml

<volume user="kratz00" fstype="crypt" path="/dev/sda2" mountpoint="/home/kratz00" options="noatime,fsck" />