message: Added prebuild downloads capability in build.withoutdocker.sh script
diff: #!/usr/bin/env bash
  WORKDIR=${PWD}
  +DOWNLOAD_PREBUILTS="0"
  +FINAL="1"
  +while getopts ":d" opt; do
  + case ${opt} in
  + d) DOWNLOAD_PREBUILTS="1";;
  + \?);;
  + esac
  +done
  +shift $((OPTIND -1))
  +
  TARGET_ARCH=$1
  TARGET_API=$2
  CROSS_COMPILE=$3
  +
  +download_and_unzip_deps(){
  + rm -rf indy-android-dependencies
  + git clone https://github.com/evernym/indy-android-dependencies.git
  + pushd indy-android-dependencies/prebuilt/
  + git checkout tags/v1.0.1
  + find . -name "*.zip" | xargs -P 5 -I FILENAME sh -c 'unzip -o -d "$(dirname "FILENAME")" "FILENAME"'
  + popd
  + ln -sf indy-android-dependencies/prebuilt dependencies
  + export OPENSSL_DIR=dependencies/openssl/openssl_arm
  + export SODIUM_DIR=dependencies/sodium/libsodium_arm
  + export LIBZMQ_DIR=dependencies/zmq/libzmq_arm
  +}
  +
  if [ -z "${TARGET_ARCH}" ]; then
  echo STDERR "Missing TARGET_ARCH argument"
  - echo STDERR "e.g. x86 or arm or arm64"
  - echo "Sample : ./build.withoutdocker.sh x86 16 i686-linux-android dependencies/openssl/openssl_x86 dependencies/sodium/libsodium_x86 dependencies/zmq/libzmq_x86"
  + echo STDERR "e.g. x86 or arm"
  exit 1
  fi
  if [ -z "${TARGET_API}" ]; then
  echo STDERR "Missing TARGET_API argument"
  echo STDERR "e.g. 21"
  - echo "Sample : ./build.withoutdocker.sh x86 16 i686-linux-android dependencies/openssl/openssl_x86 dependencies/sodium/libsodium_x86 dependencies/zmq/libzmq_x86"
  exit 1
  fi
  if [ -z "${CROSS_COMPILE}" ]; then
  echo STDERR "Missing CROSS_COMPILE argument"
  echo STDERR "e.g. i686-linux-android"
  - echo "Sample : ./build.withoutdocker.sh x86 16 i686-linux-android dependencies/openssl/openssl_x86 dependencies/sodium/libsodium_x86 dependencies/zmq/libzmq_x86"
  exit 1
  fi
  -
  +if [ "${DOWNLOAD_PREBUILTS}" == "1" ]; then
  + download_and_unzip_deps
  + else
  + echo "not downloading prebuilt dependencies. Dependencies locations have to be passed"
  if [ -z "${OPENSSL_DIR}" ]; then
  OPENSSL_DIR="openssl_${TARGET_ARCH}"
  if [ -d "${OPENSSL_DIR}" ] ; then
  @@ -67,6 +91,10 @@ if [ -z "${LIBZMQ_DIR}" ] ; then
  fi
  +fi
  +
  +
  +
  if [ "$(uname)" == "Darwin" ]; then
  echo "Downloading NDK for OSX"
  export TOOLCHAIN_PREFIX=${WORKDIR}/toolchains/darwin
  