This is my current dwm build (it is always a WIP).
For a list of the applied patches see patches.md.
libxft-dev libxinerama-dev
Contents of .xinitrc
#!/bin/sh
# source .xprofile if existent
[ -f ~/.xprofile ] && . ~/.xprofile
# start dwm
exec dwm
Contents of .xprofile
wmname LG3D
customkeymaps