diff -Npur spnavcfg-0.2.1.orig/Makefile.in spnavcfg-0.2.1/Makefile.in
--- spnavcfg-0.2.1.orig/Makefile.in	2012-01-31 22:10:35.832381151 +0100
+++ spnavcfg-0.2.1/Makefile.in	2012-01-31 22:11:14.254380520 +0100
@@ -6,7 +6,7 @@ warn = -Wall -Wno-int-to-pointer-cast -W
 CC = gcc 
 INSTALL = install
 CFLAGS = $(user_cflags) `pkg-config --cflags gtk+-2.0`
-LDFLAGS = $(user_ldflags) `pkg-config --libs gtk+-2.0`
+LDFLAGS = $(user_ldflags) `pkg-config --libs gtk+-2.0` -lX11
 
 $(bin): $(obj)
 	$(CC) -o $@ $(obj) $(LDFLAGS)