$NetBSD$

pkg path

--- src/main.py.orig	2007-06-03 20:10:36.000000000 -0500
+++ src/main.py
@@ -1,3 +1,5 @@
+#!@PYTHONBIN@
+#
 # Copyright 2004-2006 Daniel Henninger <jadestorm@nc.rr.com>
 # Licensed for distribution under the GPL version 2, check COPYING for details
 
@@ -36,7 +38,7 @@ import debug
 
 import config
 import xmlconfig
-conffile = "config.xml"
+conffile = os.path.join("@PKG_SYSCONFDIR@", "pyicqt.xml")
 profilelog = None
 options = {}
 daemonizeme = False
