install libevent first
When compiling tmux, use the following options (assuming libevent was installed with prefix=$HOME/apps
):
DIR=$HOME/apps
./configure CFLAGS="-I$DIR/include" LDFLAGS="-L$DIR/lib" --prefix=$HOME/apps
make && make install
if curses isn't found, you may have to add an extra LDFLAGS: