ci: install homebrew's curl on mac
diff --git a/script/cibuild.sh b/script/cibuild.sh
index 54b4f1b..5707f01 100755
--- a/script/cibuild.sh
+++ b/script/cibuild.sh
@@ -7,7 +7,7 @@
 fi
 
 if [ "$TRAVIS_OS_NAME" = "osx" ]; then
-    export PKG_CONFIG_PATH=$(ls -d /usr/local/Cellar/zlib/*/lib/pkgconfig | paste -s -d':' -)
+	export PKG_CONFIG_PATH=$(ls -d /usr/local/Cellar/{curl,zlib}/*/lib/pkgconfig | paste -s -d':' -)
 fi
 
 mkdir _build
diff --git a/script/install-deps-osx.sh b/script/install-deps-osx.sh
index da0672d..4b8393b 100755
--- a/script/install-deps-osx.sh
+++ b/script/install-deps-osx.sh
@@ -4,4 +4,5 @@
 
 brew update
 brew install homebrew/dupes/zlib
+brew install curl
 brew install libssh2