Exactly my thought. I just posted this same thing on another game's comments! If you aren't aiming the attack, attack should be a keyboard button.
With WASD movement, J attack, K jump, and L dash, or something like that, makes more sense than click-to-attack.