--- configure.in.orig	2009-09-11 20:32:59.000000000 +0200
+++ configure.in	2009-09-11 20:33:13.000000000 +0200
@@ -52,7 +52,7 @@
 [  --enable-ssl           support for secure connection to mail server])
 if test x$enableval = xyes ; then
 	AC_DEFINE(HAVE_SSL)
-	LIBS="$LIBS -lssl"
+	LIBS="$LIBS -lssl -lcrypto"
 fi
 enableval=""
 
