Allow generating from a passphrase; make electrum an optional dependency