--- setup.py.orig	2015-03-15 07:27:21.000000000 +1100
+++ setup.py	2022-10-20 20:05:55.000000000 +1100
@@ -27,7 +27,9 @@
     return best
 
 def get_extension():
-    event = setuptools.Extension(name='event', sources=['event.c'])
+    event = setuptools.Extension(name='event', sources=['event.pyx'])
+    event.include_dirs = ['__PREFIX__/include/libevent1']
+    return event
     system_libs = itertools.chain(
     	glob.iglob('/usr/lib/libevent.*'),
     	glob.iglob('/usr/lib64/libevent.*'),
