Description: Trying to bind to debian htslib
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@
 #         pysam.
 # external: use shared libhts.so compiled outside of
 #           pysam
-HTSLIB_MODE = "separate"
+HTSLIB_MODE = "external"
 HTSLIB_LIBRARY_DIR = os.environ.get('HTSLIB_LIBRARY_DIR', None)
 HTSLIB_INCLUDE_DIR = os.environ.get('HTSLIB_INCLUDE_DIR', None)
 
@@ -87,6 +87,12 @@
     htslib_library_dirs = ['pysam']
     htslib_include_dirs = ['htslib']
     htslib_libraries = ['chtslib']
+elif HTSLIB_MODE == 'external':
+    htslib_sources = []
+    chtslib_sources = []
+    shared_htslib_sources = htslib_sources
+    htslib_library_dirs = HTSLIB_LIBRARY_DIR
+    htslib_libraries = ['hts']
 else:
     raise ValueError("unknown HTSLIB value '%s'" % HTSLIB_MODE)
 
