--- claws-mail-3.0.0.ebuild.OLD	2007-09-15 02:33:36.665439919 +0200
+++ claws-mail-3.0.0.ebuild	2007-09-15 02:48:47.526482370 +0200
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.0.ebuild,v 1.7 2007/09/13 17:40:36 armin76 Exp $
 
-IUSE="gnome dillo crypt spell ssl ldap ipv6 pda clamav xface kde imap spamassassin doc startup-notification bogofilter"
+IUSE="gnome dillo crypt spell ssl ldap ipv6 pda clamav xface kde imap spamassassin doc startup-notification bogofilter session"
 
 inherit eutils
 
@@ -34,6 +34,8 @@
 	gnome? ( >=gnome-base/libgnomeprintui-2.2 )
 	startup-notification? ( x11-libs/startup-notification )
 	bogofilter? ( mail-filter/bogofilter )
+	session? ( x11-libs/libSM
+		   x11-libs/libICE )
 	!<mail-client/sylpheed-claws-2.6.1"	# old name, block as user hint and due to some file collision
 
 DEPEND="${COMMONDEPEND}
@@ -61,6 +63,7 @@
 	myconf="${myconf} `use_enable xface compface`"
 	myconf="${myconf} `use_enable doc manual`"
 	myconf="${myconf} `use_enable startup-notification`"
+	myconf="${myconf} `use_enable session libsm`"
 
 	# Optional plugins
 	myconf="${myconf} `use_enable clamav clamav-plugin`"