Continuum discretised BCS approach for weakly bound nuclei