I've always read that the primary difficulty in building a nuclear weapon isn't necessarily the difficulty in producing the bomb or detonator, but in producing the fissile material in large quantities. (U235 is something like 0.7% of bulk uranium we find in nature, and separating it from U238 is prohibitively difficult. You need 80% for "weapons-grade" according to wikipedia.)